function TFo = testTFgsea2_human(humanTScores,geneListP)

TFo=zeros(1,4);

    
    genelist=[1:22283]';
    [rs,rk]=sortrows(humanTScores,-1);
   
        
 
         [es,nes,pv,ledge]=gsea2(rk,rs,geneListP,genelist,1000,1);
         TFo(1,1)=es;
         TFo(1,2)=nes;
         TFo(1,3)=pv;
         
   
    
    

return
%[PValuesYeast2C, TScoresYeast2C] = mattest(data(:,[149:161]),data(:,[114:121 124:129]));
%TFoYeast1=testTFgsea2(data, TScoresYeast2C,TFAc_GeneID);
%[tempScoreout,tempoutS,tempoutI]=Re1(data',P,Y,10);
%TFoYeast2=testTFgsea2(data, (tempScoreout-mean(tempScoreout))/std(tempScoreout)*100,TFAc_GeneID);

%[PValuesHumanBC, TScoresHumanBC] = mattest(ETABM185(:,CancerListVV==7),ETABM185(:,),CancerListVV~=7));
%TFoHumanBC_NFKB1 = testTFgsea2_human(TScoresHumanBC,iNFKB1');
%TFoHumanBC_CREB1 = testTFgsea2_human(TScoresHumanBC,iCREB1');

%[PValuesHumanER, TScoresHumanER] = mattest(ETABM185(:,ETABM185(4752,:)<5),ETABM185(:,),ETABM185(4752,:)>8));
%TFoHumanER_JUN = testTFgsea2_human(TScoresHumanER,iJUN');
%TFoHumanER_REST = testTFgsea2_human(TScoresHumanER,iREST');
%TFoHumanER_TP53 = testTFgsea2_human(TScoresHumanER,iTP53');




